package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 条文信息对象 sys_app_clause
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class SysAppClause extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String clauseTitle;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 条文类型名称 */
    @Excel(name = "条文类型名称")
    private String typeName;

    /** 条文分类的字典id */
    @Excel(name = "条文分类的字典id")
    private Long typeId;

    /** 条文内容 */
    @Excel(name = "条文内容")
    private String clauseContent;

    /** 启用状态(0、不启用；1、启用） */
    @Excel(name = "启用状态(0、不启用；1、启用）")
    private Integer state;

    /** 排序字段 */
    @Excel(name = "排序字段")
    private Integer sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClauseTitle(String clauseTitle) 
    {
        this.clauseTitle = clauseTitle;
    }

    public String getClauseTitle() 
    {
        return clauseTitle;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setClauseContent(String clauseContent) 
    {
        this.clauseContent = clauseContent;
    }

    public String getClauseContent() 
    {
        return clauseContent;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clauseTitle", getClauseTitle())
            .append("author", getAuthor())
            .append("typeName", getTypeName())
            .append("typeId", getTypeId())
            .append("clauseContent", getClauseContent())
            .append("createTime", getCreateTime())
            .append("state", getState())
            .append("sort", getSort())
            .toString();
    }
}
